package com.youlu.campus.entity.VO.req;

import com.youlu.campus.entity.UserPO;
import com.youlu.campus.entity.enums.ShareType;
import com.youlu.campus.entity.enums.TaskBizType;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * 创建邀请请求类
 */
@Data
public class UserInviteCreateVO implements Serializable {
    /**
     * 分享类型,qa:助力答题,daka:打卡,fission:裂变,reissue:补卡
     */
    private ShareType shareType = ShareType.FISSION;
    /**
     * 活动ID
     */
    private String activityId;
    /**
     * 任务ID
     */
    private String taskId;
    /**
     * 目标用户OpenId
     */
    private String targetOpenId;
    /**
     * 分享者的OpenId
     */
    private String sharedByOpenId;
    /**
     * 邀请人信息
     */
    private UserPO invitedByUserInfo;
    /**
     * 邀请时间
     */
    private Date inviteTime;
    /**
     * 任务业务类型,默认是邀请
     */
    private TaskBizType taskBizType = TaskBizType.INVITE;
    /**
     * 是否是答题邀请,默认为false
     */
    private Boolean qa = Boolean.FALSE;
    /**
     * 是否更新榜单,默认为否
     */
    private Boolean updateRanking = Boolean.FALSE;

    private Date dayTime;
    /**
     * 分享名
     */
    private String shareName;
    /**
     * 子业务类型,daka:打卡,buka:补卡,liebian:裂变
     */
    private String oBizType;

    private String platform;

    private String appId;

    private UserPO targetUser;

    private String extra;


}
